package com.med.mapper;

import com.med.entity.*;
import com.med.vo.OrderVO;
import com.med.vo.UserVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @BelongsProject: internet-based-healthcare01
 * @BelongsPackage: com.med.mapper
 * @Author: WWJ
 * @CreateTime: 2025-08-18 15:13
 * @Description: TODO
 * @Version: 1.0
 */
@Mapper
public interface OrderMapper {
    //查询药品订单
    List<MedicineOrderDO> queryMedicineOrder(@Param("orderVO")OrderVO orderVO);

    //根据药品的订单id查询药品订单的详细信息
    List<MedicineOrderDetailsDO> queryMedicineOrderDetails(@Param("orderVO")OrderVO orderVO);

    //查询商品订单
    List<GoodsOrderDO> queryGoodOrder(@Param("orderVO")OrderVO orderVO);

    //根据商品的订单id查找商品订单的详细信息
    List<GoodsOrderDetailsDO> queryGoodsOrderDetails(@Param("orderVO")OrderVO orderVO);




}

